package com.ynet.middleground.contract.mq;

import org.springframework.cloud.stream.annotation.Input;
import org.springframework.messaging.SubscribableChannel;

/**
 * @author liulx
 */
public interface Sink {
    String I_CONTRACT = "i_contract";

    /**
     * 合约中心，修改模板状态处理
     * 
     * @return
     */
    @Input(Sink.I_CONTRACT)
    SubscribableChannel receiveContract();
}
